package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * TODO
 *
 * @author Mr.zhao
 * @version 1.0
 * @date 2021/12/31 10:51
 */

public interface SupplierDao {
    List<Supplier> getSupplierList(
            @Param("pageStartIndex") int pageStartIndex,
            @Param("rows") Integer rows,
            @Param("supplierName") String supplierName);

    void save(Supplier supplier);

    void update(Supplier supplier);

    void delete(@Param("ids") String strIds);
}
